
const state = {
	logs: [],
};

const mutations = {
	ADD_LOG(state, log) {
		state.logs.push(log);
	},
};

const actions = {
	addLog({ commit }, log) {
		commit("ADD_LOG", log);
	},
};

const getters = {
	allLogs: (state) => state.logs,
};

export default {
	namespaced: true,
	state,
	mutations,
	actions,
	getters,
};
